package com.yc.game.pojo;

import java.util.Date;

public class Training {
    /** id */
    private Integer id;

    /** 代练id */
    private Integer trainingContentId;

    /** 类型 */
    private Integer type;

    /** 状态 */
    private Integer status;

    /** 保证金额 */
    private Double money;

    /** 卖家账号 */
    private String saleAcct;

    /** 买家账号 */
    private String buyerAcct;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Training(Integer id, Integer trainingContentId, Integer type, Integer status, Double money, String saleAcct, String buyerAcct, Date createTime, Date updateTime) {
        this.id = id;
        this.trainingContentId = trainingContentId;
        this.type = type;
        this.status = status;
        this.money = money;
        this.saleAcct = saleAcct;
        this.buyerAcct = buyerAcct;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Training() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTrainingContentId() {
        return trainingContentId;
    }

    public void setTrainingContentId(Integer trainingContentId) {
        this.trainingContentId = trainingContentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getSaleAcct() {
        return saleAcct;
    }

    public void setSaleAcct(String saleAcct) {
        this.saleAcct = saleAcct == null ? null : saleAcct.trim();
    }

    public String getBuyerAcct() {
        return buyerAcct;
    }

    public void setBuyerAcct(String buyerAcct) {
        this.buyerAcct = buyerAcct == null ? null : buyerAcct.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}